package com.device.api.service;

import com.device.api.entity.PudongDeviceConfig;
import com.device.api.r.Result;
import com.device.api.request.DeviceDataSwitchRequest;
import com.device.api.request.DeviceReadDataRequest;
import com.device.api.request.DeviceUploadFrequencyRequest;

public interface ICtWingService {

    void updateDeviceUploadFrequency(DeviceUploadFrequencyRequest request);

    Result<?> deviceAddCtWing(PudongDeviceConfig pudongDeviceConfig);

    void updateDeviceDataSwitch(DeviceDataSwitchRequest request);

    Result<?> deviceDeleteCtWing(String deviceNo);

    Result<?> setTimeCalibration(Object deviceNo);

    Result<?> getDeviceTime(Object deviceNo);

    Result<?> deviceReadData(DeviceReadDataRequest request);

    Result<?> setDeviceIp(Object deviceNo, Object ip);
}
